// 成绩评定DTO
package org.example.backend.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class EvaluationDto {
    @NotNull(message = "实习ID不能为空")
    private Long internshipId;

    @NotNull(message = "学生ID不能为空")
    private Long studentId;

    @Min(value = 0, message = "评分不能小于0")
    @Max(value = 100, message = "评分不能大于100")
    private BigDecimal score; // 评分

    private String comment; // 评语
}
